import Vue from 'vue'
import App from './App.vue'
// 导入基础样式base.css
import './assets/css/base.css'
// 导入阿里字体图标库
import 'assets/icon/iconfont.css'
// 导入element-ui
import './plugins/element.js'
import 'element-ui/lib/theme-chalk/index.css'

// 导入路由router文件
import router from './router/index.js'
// 导入全局状态管理store
import store from './store/index.js'
// 导入网络请求
import './network/index.js'
// 导入过滤函数
import 'utils/filters.js'
// 导入vue.prototype
import 'utils/prototype.js'

Vue.config.productionTip = false

// 事件总线
Vue.prototype.$bus = new Vue()

new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
